package com.letoken.platform.repo.admin.req.mall;

import com.letoken.platform.pub.annotation.sms.SpecifyMatch;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;


@Data
@ApiModel(value = "店铺审核图片请求对象", description = "店铺审核图片请求对象")
public class MallStoreAuditImageReq implements Serializable {

    @NotNull(message = "店铺记录ID不能为空")
    @ApiModelProperty(name = "mallId", value = "店铺记录ID", required = true, example = "1")
    private Integer mallId;


    @NotNull(message = "审核结果不能为空")
    @ApiModelProperty(name = "state", value = "审核结果 1=通过 2驳回", required = true, example = "1")
    @SpecifyMatch(intValues = {1,2})
    private Integer state;


    @ApiModelProperty(name = "reason", value = "审核失败原因", required = true, example = "1")
    private String reason;


    @ApiModelProperty(name = "问题字段", value = "问题字段", required = true, example = "mallName")
    private List<String> problemFields;




}
